package com.igeek.ch06.lazy;

import com.igeek.pojo.OrdersCustom;
import com.igeek.pojo.UserCustom;

import java.util.List;

/**
 * @package com.igeek.ch06.lazy
 * @Description 延时加载  查询订单信息
 * @Author LittlePunk [296526219@qq.ccom]
 * @Version 2022.1
 * @Date 2023/11/23 9:47
 */
public interface OrdersAndUserMapper {
    //查询所有订单
    public List<OrdersCustom> findOrders();

    //按需查询：根据用户id 查询用户信息
    public  UserCustom selectUserById(int id);
}
